package com.ruoyi.xinke.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 新开课对象 algs_new_course
 * 
 * @author ruoyi
 * @date 2023-03-20
 */
public class AlgsNewCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 新课ID */
    private Long newCourseId;

    /** 新课名称 */
    @Excel(name = "新课名称")
    private String newCourseName;

    /** 学分 */
    @Excel(name = "学分")
    private Long newCourseNumber;

    /** 新课状态（外键） */
    @Excel(name = "新课状态", readConverterExp = "外=键")
    private Long typeId;

    /** 上课地点 */
    @Excel(name = "上课地点")
    private String newCourseAdd;

    /** 开课时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开课时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date newCourseDate;

    /** 哪个专业 */
    @Excel(name = "哪个专业")
    private String newCourseMajor;

    /** 最大报名人数 */
    @Excel(name = "最大报名人数")
    private Long newCourseMax;

    /** 备用列 */
    @Excel(name = "备用列")
    private Long newCourseBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String newCourseBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private String newCourseBy3;

    /** 教师ID（外键） */
    @Excel(name = "教师ID", readConverterExp = "外=键")
    private Long teacherId;

    /** 申请新实验（外键） */
    @Excel(name = "申请新实验", readConverterExp = "外=键")
    private Long newExperimentId;

    public void setNewCourseId(Long newCourseId) 
    {
        this.newCourseId = newCourseId;
    }

    public Long getNewCourseId() 
    {
        return newCourseId;
    }
    public void setNewCourseName(String newCourseName) 
    {
        this.newCourseName = newCourseName;
    }

    public String getNewCourseName() 
    {
        return newCourseName;
    }
    public void setNewCourseNumber(Long newCourseNumber) 
    {
        this.newCourseNumber = newCourseNumber;
    }

    public Long getNewCourseNumber() 
    {
        return newCourseNumber;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setNewCourseAdd(String newCourseAdd) 
    {
        this.newCourseAdd = newCourseAdd;
    }

    public String getNewCourseAdd() 
    {
        return newCourseAdd;
    }
    public void setNewCourseDate(Date newCourseDate) 
    {
        this.newCourseDate = newCourseDate;
    }

    public Date getNewCourseDate() 
    {
        return newCourseDate;
    }
    public void setNewCourseMajor(String newCourseMajor) 
    {
        this.newCourseMajor = newCourseMajor;
    }

    public String getNewCourseMajor() 
    {
        return newCourseMajor;
    }
    public void setNewCourseMax(Long newCourseMax) 
    {
        this.newCourseMax = newCourseMax;
    }

    public Long getNewCourseMax() 
    {
        return newCourseMax;
    }
    public void setNewCourseBy1(Long newCourseBy1) 
    {
        this.newCourseBy1 = newCourseBy1;
    }

    public Long getNewCourseBy1() 
    {
        return newCourseBy1;
    }
    public void setNewCourseBy2(String newCourseBy2) 
    {
        this.newCourseBy2 = newCourseBy2;
    }

    public String getNewCourseBy2() 
    {
        return newCourseBy2;
    }
    public void setNewCourseBy3(String newCourseBy3) 
    {
        this.newCourseBy3 = newCourseBy3;
    }

    public String getNewCourseBy3() 
    {
        return newCourseBy3;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setNewExperimentId(Long newExperimentId) 
    {
        this.newExperimentId = newExperimentId;
    }

    public Long getNewExperimentId() 
    {
        return newExperimentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("newCourseId", getNewCourseId())
            .append("newCourseName", getNewCourseName())
            .append("newCourseNumber", getNewCourseNumber())
            .append("typeId", getTypeId())
            .append("newCourseAdd", getNewCourseAdd())
            .append("newCourseDate", getNewCourseDate())
            .append("newCourseMajor", getNewCourseMajor())
            .append("newCourseMax", getNewCourseMax())
            .append("newCourseBy1", getNewCourseBy1())
            .append("newCourseBy2", getNewCourseBy2())
            .append("newCourseBy3", getNewCourseBy3())
            .append("teacherId", getTeacherId())
            .append("newExperimentId", getNewExperimentId())
            .toString();
    }
}
